@model string
@{
    var lts = Model.Split(',').ToList();
}

<link href="https://cdn.jsdelivr.net/gh/codemirror/codemirror@5.19.0/lib/codemirror.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/gh/codemirror/codemirror@5.19.0/lib/codemirror.min.js"></script>
@foreach (var item in lts)
{
    <script src="https://cdn.jsdelivr.net/gh/codemirror/codemirror@5.19.0/mode/@item/@(item).min.js"></script>
}